package com.qiyu.tech.pay.dao;

import com.qiyu.tech.pay.entity.OrderInfoPO;
import org.springframework.stereotype.Component;

/**
 * @Author linhao
 * @Date created in 10:25 上午 2021/4/4
 */
@Component
public class OrderInfoDaoImpl implements OrderInfoDao{

    @Override
    public OrderInfoPO getOrderInfoPO(String orderNo) {
        //模拟根据订单编码查询到订单流水信息
        OrderInfoPO orderInfoPO = new OrderInfoPO();
        orderInfoPO.setOrderNo(orderNo);
        orderInfoPO.setPayConfigId(1001);
        orderInfoPO.setAppId("127987qasd359ddfv");
        orderInfoPO.setPayStatus((short) 1);
        orderInfoPO.setValidStatus((short) 1);
        return orderInfoPO;
    }
}
